MenuItemText

fun MenuItemText(modifier: Modifier, text: String, color: Color, isHeaderText: Boolean = false)

Displays text for the MenuItem.

Parameters

modifier

Modifier for styling.

text

The text to display.

color

The color of the text.

isHeaderText

Flag indicating if the text is header text.